package View;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JTextField;

import javax.swing.WindowConstants;
import org.jdesktop.application.Application;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class ModificarUsuarioResidencial extends javax.swing.JFrame {
	private JLabel lblCUIToDOC;
	private JButton jButtonCargar;
	private JTextField jtfCUIToDOC;
	private JComboBox jcbExistentes;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				ModificarUsuarioResidencial inst = new ModificarUsuarioResidencial();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public ModificarUsuarioResidencial() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			pack();
			this.setSize(496, 332);
			this.setTitle("Alta Automovil");
			getContentPane().setLayout(null);
			{
				lblCUIToDOC = new JLabel();
				getContentPane().add(lblCUIToDOC);
				lblCUIToDOC.setBounds(12, 12, 55, 16);
				lblCUIToDOC.setName("lblCUIToDOC");
				lblCUIToDOC.setText("CUIT/DOC");
			}
			{
				jtfCUIToDOC = new JTextField();
				getContentPane().add(jtfCUIToDOC);
				jtfCUIToDOC.setBounds(79, 9, 108, 23);
				jtfCUIToDOC.setName("jtfCUIToDOC");
			}
			{
				ComboBoxModel jcbExistentesModel = 
					new DefaultComboBoxModel(
							new String[] { "Item One", "Item Two" });
				jcbExistentes = new JComboBox();
				getContentPane().add(jcbExistentes);
				jcbExistentes.setModel(jcbExistentesModel);
				jcbExistentes.setBounds(12, 44, 175, 23);
			}
			{
				jButtonCargar = new JButton();
				getContentPane().add(jButtonCargar);
				jButtonCargar.setBounds(218, 9, 88, 23);
				jButtonCargar.setName("jButtonCargar");
				jButtonCargar.setText("Cargar");
				jButtonCargar.addActionListener(new ActionListener(){
					public void actionPerformed(ActionEvent evt){
						if (jtfCUIToDOC.getText()==""){
							
						}
					}
				});
			}

//			Application.getInstance().getContext().getResourceMap(getClass()).injectComponents(getContentPane());
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
